package com.just_bean.core.aop;

import com.just_bean.core.handler.JustMethodProxy;

import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public abstract class AopClz {
    protected Class clz;
    protected Map<Method, List<JustMethodProxy>> aopMap = new HashMap<>();

    public AopClz(Class clz) {
        this.clz = clz;
    }

    public void setAopMap(Map<Method, List<JustMethodProxy>> aopMap) {
        this.aopMap = aopMap;
    }

    public abstract Object newInstance();
}
